package com.ruoyi.kiku.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 关联新闻对象 kiku_relational_news
 *
 * @author TT
 * @date 2025-09-03
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class KikuRelationalNews extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 新闻ID */
    @Excel(name = "新闻ID")
    private Long newsId;

    /** 关联新闻ID */
    @Excel(name = "关联新闻ID")
    private Long relationalNewsId;

    /** 新闻标题 */
    @Excel(name = "新闻标题")
    private String title;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String cover;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

}
